html,
*,
body {
  padding: 0;
  margin: 0;
}
body {
  width: 100vw;
  height: 100vh;
  background-image: url('../img/login_bg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  -webkit-background-size: cover;
  position: relative;
}
body .logo {
  position: absolute;
  left: 90rem;
  top: 45rem;
  width: 216rem;
  height: 68rem;
  background-image: url('../img/logo.png');
  background-size: 216rem 68rem;
  background-repeat: no-repeat;
}
body .login_box {
  position: absolute;
  top: 50%;
  left: 120rem;
  transform: translateY(-50%);
  height: 480rem;
}
body .login_box > .title {
  font-family: SourceHanSansCN;
  font-size: 48rem;
  font-weight: 700;
}
body .login_box > .sub_title {
  font-size: 32rem;
  color: #9096ac;
}
body .login_box > .item {
  margin-top: 20rem;
  width: 480rem;
  height: 66rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
}
body .login_box > .item.account {
  margin-top: 50rem;
}
body .login_box > .item.account .icon {
  background-image: url('../img/account.png');
}
body .login_box > .item.password .icon {
  background-image: url('../img/password.png');
}
body .login_box > .item.code {
  flex: 1 1 0;
}
body .login_box > .item.code .icon {
  background-image: url('../img/code.png');
}
body .login_box > .item > .bg_box {
  background-color: #f2f6f9;
  border-radius: 8rem;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  flex: 1 1 0;
  overflow: hidden;
}
body .login_box > .item > .bg_box > .icon {
  width: 30rem;
  height: 30rem;
  background-size: 30rem 30rem;
  background-position: center center;
  background-repeat: no-repeat;
  margin-left: 38rem;
  flex: 0 0 auto;
}
body .login_box > .item > .bg_box > input {
  flex: 1 1 0;
  width: 100%;
  border: none;
  padding: 10rem 20rem;
  font-size: 20rem;
  outline: none;
  background-color: transparent;
}
body .login_box > .item > .bg_box > input::placeholder {
  color: #9096ac;
}
body .login_box > .item > .code_box {
  width: 188rem;
  height: 100%;
  flex: 0 0 auto;
  margin-left: 20rem;
  border-radius: 8rem;
  background-image: linear-gradient(to right, #c2c2c2, #fafafa);
}
body .login_box > .item > .code_box .code_bg {
  width: 100%;
  height: 100%;
  background-position: 0 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
body .login_box #loginBtn {
  height: 66rem;
  width: 300rem;
  line-height: 66rem;
  color: white;
  font-size: 24rem;
  border-radius: 8rem;
  background-image: linear-gradient(to right, #3264f5, #1895f0);
  margin-top: 20rem;
  border: none;
  outline: none;
}
body .login_box #loginBtn:hover {
  background-image: linear-gradient(to right, #1895f0, #1895f0);
}
body .login_box #loginBtn:active {
  background-image: linear-gradient(to right, #3264f5, #1895f0) !important;
}
body .alert {
  position: absolute;
  top: -150rem;
  left: calc((100% - 100rem)/2);
  background: #fff;
  border-radius: 8rem;
  display: flex;
  justify-content: space-between;
  font-size: 12rem;
  align-items: center;
  padding: 10rem;
  opacity: 0;
  transition: 0.8s;
  box-shadow: 0 0 10rem 5rem rgba(0, 0, 0, 0.05);
}
body .alert .alertIcon {
  width: 20rem;
  height: 20rem;
  margin-right: 4rem;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
body .alert .alertIcon.info {
  background-image: url('../img/info.png');
}
body .alert .alertIcon.error {
  background-image: url('../img/error.png');
}
body .alert .alertIcon.warn {
  background-image: url('../img/warn.png');
}
body .alert .alertIcon.success {
  background-image: url('../img/success.png');
}
body .alert.alertShow {
  top: 50rem !important;
  opacity: 1;
}
body .alert.error {
  color: red;
}
